<?php

class Product extends \Eloquent {

	// Add your validation rules here
	public static $rules = [
		'title' => 'required',
        'content' => 'required',
        'status' => 'required',
        'intro' => 'required'
	];

	// Don't forget to fill this array
	protected $fillable = ['title', 'content', 'status', 'intro', 'thumbnail'];

}